//
//  XStack.h
//  iSensorTest
//
//  Created by Deheng.Xu on 13-4-27.
//  Copyright (c) 2013年 Nicholas.Xu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface XStack : NSObject
{
    NSMutableArray *__stacks;
}
@property (nonatomic) NSUInteger maxSize;
@property (nonatomic, readonly) NSArray *contents;

- (id)initWithMaxSize:(NSUInteger)maxSize;
- (void)pushObject:(id)obj;
- (id)popObject;

@end
